package cn.northsea.service;

//业务层要按照接口和实现类的方式编写


import cn.northsea.pojo.Role;

import java.util.List;

public interface RoleService {

    List<Role> findRoleByUid(Integer id);

    List<Role> findAll2();

    void allocationRole(Integer userId, List<Integer> rids);

    List<Role> findAll(String likename);

    void addRole(Role role);

    Role checkRoleName(String roleName);

    void delRole2(Integer[] ids);
}
